import request from '@/utils/request'


export default {

  // 查询订单列表
  getList(query) {
    return request({
      url: `/pri/order_info/search`,
      method: 'post',
      data: query
    })
  },

  // 发货
  ship(id) {
    return request({
      url: `/pri/order_info/ship/${id}`,
      method: 'put'
    })
  },

  deleteById(id) {
    return request({
      url: `/pri/order_info/${id}`,
      method: 'delete'
    })
  }
}
